how to leave the simulation